<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="./js/jquery-3.1.0.min.js"></script>
    <script src="./js/flexible.debug.js"></script>
    <script src="./js/flexible_css.debug.js"></script>
    <link rel="stylesheet" href="./css/index.css">
    <title>福利大抽奖</title>
</head>
<body>
    <div class="container">
        <p class="label">填写分享信息，吸引好友打开你分享的消息！</p>
        <input type="text" id="title" placeholder="分享标题例如:kaki送你一次免费抽奖活动" />
        <input type="text" id="desc" placeholder="分享的描述,至少6-12个字，越完善越有诱惑性" />
        <p class="label">试试上传一张照片作为分享分享的图标</p>
        <div class="upload">
            <form action="">
                <input type="file" name="upload" id="upload" />
                <img src="./image/upload.png" alt=""/>
            </form>
        </div>
        <p class="infer">
            提示：<br/>
            1、输入分享标题和分享描述即可分享好友，图标不上传默认红包图标<br/>
            2、直接发送好友即可，也可以发送到朋友圈<br/>
            3、默认提供红包分享图标
        </p>
    </div>
</body>
<script>
    $(document).ready(function(){
        // alert(123);
        // verify();
    });

    // var verify = function(){
    //     $.ajax({
    //         url: 'https://open.weixin.qq.com/connect/oauth2/authorize',
    //         type: 'POST',
    //         contentType: 'application/json',
    //         data: {
    //             appid: 'wx41cc8da9c81e34cf',
    //             redirect_uri:'index.html',
    //             response_type:'code',
    //             scope: 'snsapi_base',
    //             state: '123',
    //         },
    //         success: function(res){
    //             console.log(res);
    //         }
    //     });
    // }
</script>
</html>